﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace ICeFramework.Win.UI.Internal.Designers
{
    internal static class DesignerUtils
    {
        //private static SolidBrush hoverBrush;
        //public static Brush HoverBrush;
        //{
        //    get
        //    {
        //        return hoverBrush;
        //    }
        //}

        public static Point LastCursorPoint
        {
            get
            {
                int messagePos = SafeNativeMethods.GetMessagePos();
                return new Point(NativeMethods.Util.SignedLOWORD(messagePos), NativeMethods.Util.SignedHIWORD(messagePos));
            }
        }
    }
}
